Use this method to test whether a property can be edited. This may depend on the state of the document.
Syntax
Function CanEditProperty(
PropertySetName As String,
PropertyDefName As String) As Boolean
| Name | Description |
|---|---|
|
PropertySetName |
The internal name of the property set |
|
PropertyDefName |
The internal name of the property definition |
Return Value
Returns True if the property is not read-only.
Remarks
See About accessing object properties for an explanation of property effectivity.